{% extends 'adminbase.html' %}
{% block content_admin %}
	
	Showing Page :

	{% if page %}
		{{ page.title }} 
		[<a href="/admin/admin_updatepage/{{page.pk}}/">Edit</a>]
		[<a href="/admin/admin_deletepage/{{page.pk}}/">Delete</a>]
		
		<p>Title: {{ page.title }}</p>
		{% if page.category %}
			<p>Category: <a href="/admin/admin_detailcategory/{{ page.category.pk }}/">{{ page.category }}</a></p>
		{% else %}
			<p>Category: no category</p>
		{% endif %}
		<div>{{ page.content|safe }}</div>
		
	{% else %}
	    <p>No page found !</p>
	{% endif %}

<!--
	<form action="" method="post">
	<p>{{ form.name.label_tag }} {{ form.name }}</p>
	<p>{{ form.address.label_tag }} {{ form.address }}</p>
	</form>
-->
{% endblock %}

